package org.seedltd.upms.model.detection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 售卖机货道维护数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/09/23
 */
@Getter
@Setter
@TableName("detection_terminal_pipeline")
public class DetectionTerminalPipeline {

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 售卖机主键
     */
    @TableField(value = "terminal_id")
    private Long terminalId;

    /**
     * 机柜ID
     */
    @TableField(value = "equipment_uuid")
    private String equipmentUuid;

    /**
     * 商品可售数量
     */
    @TableField(value = "present_number")
    private Integer presentNumber;

    /**
     * 货道号
     */
    @TableField(value = "arrival_name")
    private String arrivalName;

    /**
     * 货道启用状态。1正常 -1货道异常 -2禁用 -3停售
     */
    @TableField(value = "commodity_condition")
    private Integer commodityCondition;
}